package com.liqi.frame.comm.enums;

import lombok.Data;
import lombok.Getter;

/**
 * http状态码
 * @author liqi on 2017/12/13.
 * liqiwork@qq.com
 */
@Getter
public enum HttpStatus {
    /** 成功 */
    SUCCESS("SUCCESS", "成功"),
    /** 失败 */
    FAIL("FAIL", "失败"),
    ;

    private String key;
    private String name;
    private HttpStatus(String key, String name) {
        this.key = key;
        this.name = name;
    }
}
